#!/usr/bin/env bash

## 一键启动脚本

d=`date "+%Y%m%d%H%M"`

echo $d

echo '------------------------启动redis------------------'
cd /usr/local/bin
./redis-server &

echo '------------------------启动zookeeper--------------'
cd /usr/user_apps/zookeeper/zookeeper-3.4.8/bin
./zkServer.sh start

echo '------------------------启动activemq---------------'
/etc/init.d/activemq start

echo '------------------------启动dubbo-admin------------'
cd /usr/user_apps/tomcat/tomcat-dubbo-admin-8081/bin
./startup.sh

echo '------------------------启动nexus-------------------'
 cd /usr/user_apps/nexus-2.3.1-01/bin
./nexus start



echo '-------------成功---------------'
